Package com.cisco.pt.ipc.sim.pdu.impl
Class TFTPResponseImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.TFTPHeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.TFTPResponseImpl
- All Implemented Interfaces:
IPCData,Pdu,Signal,TFTPHeader,TFTPResponse
- Direct Known Subclasses:
TFTPDataImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.TFTPHeaderImpl
typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intgetFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetBlockNo(int blockNo) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.TFTPHeaderImpl
getType, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValueMethods inherited from interface com.cisco.pt.ipc.sim.pdu.TFTPHeader
getType, setType
-
Field Details
-
blockNo
protected int blockNo
-
-
Constructor Details
-
TFTPResponseImpl
public TFTPResponseImpl()
-
-
Method Details
-
getBlockNo
public int getBlockNo()- Specified by:
getBlockNoin interfaceTFTPResponse- Returns:
- int Returns a int
-
setBlockNo
public void setBlockNo(int blockNo) - Specified by:
setBlockNoin interfaceTFTPResponse- Parameters:
blockNo- Takes in a parameter of blockNo
-
getFieldType
- Overrides:
getFieldTypein classTFTPHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classTFTPHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classTFTPHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classTFTPHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classTFTPHeaderImpl
-